.frame {
  max-width: 100%;
  overflow: auto;
}

.pdf.frame {
  width: 100%;
  height: 30em;
}

.index th.size {
  min-width: 5em;
}

table.index .size {
  text-align: right;
  padding-right: 5px;
}

table#assets .icon,
table#assets .thumbnail {
  margin-right: 5px;
}

#assets .icon {
  float: left;
  font-size: 75%;
  display: block;
  text-align: center;
  background: #ccc;
  text-transform: uppercase;
  overflow: hidden;
}

table#assets th.name,
table#assets td.name {
  width: auto;
}

table#assets th.actions {
/*  min-width: 7em;*/
  min-width: auto;
}

/*table#assets th.size {*/
/*  min-width: 5em;*/
/*}*/

ul#assets, #assets li {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#assets li {
  background: #ccc;
  float: left;
  margin-right: 1px;
  margin-bottom: 1px;
  position: relative;
}

#assets li li {
  margin-bottom: 0;
}

#assets li li:last-of-type {
  margin-right: 0;
}

#assets li a {
  color: inherit;
  text-decoration: none;
}

#assets li .id,
#assets li .caption,
#assets li .action {
  position: absolute;
  top: 2px;
  display: none;
}

#assets li:hover .id,
#assets li:hover .caption,
#assets li:hover .action {
  display: block;
}

#assets li .action {
  right: 2px;
}

#assets li .caption {
  top: auto;
  bottom: 0;
  color: white;
  background: black;
}

#assets li .id {
  left: 2px;
  color: white;
  font-weight: bold;
}

#assets li .remove,
table#assets .remove::before {
  background: url('/images/admin/minus.png') no-repeat top left;  
}

#assets li .remove {
  width: 12px;
  height: 12px;
  text-indent: -1000em;
  overflow: hidden;
}

table#assets .remove::before,
#actions .new a::before {
  content: '';
  width: 12px;
  height: 12px;
  padding-right: 3px;
  position: relative;  
  top: 2px;
  display: block;
  display: inline-block;
}

#actions .new a::before {
  background: url('/images/admin/plus.png') no-repeat left bottom;
}

/*
  Overriding values from jquery.fileupload-ui.css
  Need higher specificity as that file is only loaded later
*/

html .file_upload {
  width: auto;
  height: auto;
  margin: 1em 0;
}

html .file_upload .buttons {display: none}


html .file_upload,
html .file_upload_small,
html .file_upload_large {
  background: #F5F1E2;
  border-color: #ccc;
}

html .file_upload_highlight {
  background: lawngreen;
}
